gate 2021 linear algebra solution